Optimal. Leaf size=83 \[ \frac {2 \sin (c+d x)}{d \sqrt {1-\cos (c+d x)} \sqrt {\cos (c+d x)}}-\frac {\sqrt {2} \tanh ^{-1}\left (\frac {\sin (c+d x)}{\sqrt {2} \sqrt {1-\cos (c+d x)} \sqrt {\cos (c+d x)}}\right )}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 83, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {2779, 2782, 206} \[ \frac {2 \sin (c+d x)}{d \sqrt {1-\cos (c+d x)} \sqrt {\cos (c+d x)}}-\frac {\sqrt {2} \tanh ^{-1}\left (\frac {\sin (c+d x)}{\sqrt {2} \sqrt {1-\cos (c+d x)} \sqrt {\cos (c+d x)}}\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 2779
Rule 2782
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {1-\cos (c+d x)} \cos ^{\frac {3}{2}}(c+d x)} \, dx &=\frac {2 \sin (c+d x)}{d \sqrt {1-\cos (c+d x)} \sqrt {\cos (c+d x)}}+\int \frac {1}{\sqrt {1-\cos (c+d x)} \sqrt {\cos (c+d x)}} \, dx\\ &=\frac {2 \sin (c+d x)}{d \sqrt {1-\cos (c+d x)} \sqrt {\cos (c+d x)}}-\frac {2 \operatorname {Subst}\left (\int \frac {1}{2-x^2} \, dx,x,\frac {\sin (c+d x)}{\sqrt {1-\cos (c+d x)} \sqrt {\cos (c+d x)}}\right )}{d}\\ &=-\frac {\sqrt {2} \tanh ^{-1}\left (\frac {\sin (c+d x)}{\sqrt {2} \sqrt {1-\cos (c+d x)} \sqrt {\cos (c+d x)}}\right )}{d}+\frac {2 \sin (c+d x)}{d \sqrt {1-\cos (c+d x)} \sqrt {\cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.17, size = 152, normalized size = 1.83 \[ \frac {2 \sin \left (\frac {1}{2} (c+d x)\right ) \left (2 \sqrt {1+e^{2 i (c+d x)}} \cos \left (\frac {1}{2} (c+d x)\right )-\frac {e^{-\frac {1}{2} i (c+d x)} \left (1+e^{2 i (c+d x)}\right ) \tanh ^{-1}\left (\frac {1+e^{i (c+d x)}}{\sqrt {2} \sqrt {1+e^{2 i (c+d x)}}}\right )}{\sqrt {2}}\right )}{d \sqrt {1+e^{2 i (c+d x)}} \sqrt {-((\cos (c+d x)-1) \cos (c+d x))}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.84, size = 144, normalized size = 1.73 \[ \frac {\sqrt {2} \cos \left (d x + c\right ) \log \left (-\frac {2 \, {\left (\sqrt {2} \cos \left (d x + c\right ) + \sqrt {2}\right )} \sqrt {-\cos \left (d x + c\right ) + 1} \sqrt {\cos \left (d x + c\right )} - {\left (3 \, \cos \left (d x + c\right ) + 1\right )} \sin \left (d x + c\right )}{{\left (\cos \left (d x + c\right ) - 1\right )} \sin \left (d x + c\right )}\right ) \sin \left (d x + c\right ) + 4 \, {\left (\cos \left (d x + c\right ) + 1\right )} \sqrt {-\cos \left (d x + c\right ) + 1} \sqrt {\cos \left (d x + c\right )}}{2 \, d \cos \left (d x + c\right ) \sin \left (d x + c\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.64, size = 72, normalized size = 0.87 \[ \frac {\sqrt {2} {\left (\frac {4}{\sqrt {-\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + 1}} - \log \left (\sqrt {-\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + 1} + 1\right ) + \log \left (-\sqrt {-\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + 1} + 1\right )\right )}}{2 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.13, size = 159, normalized size = 1.92 \[ \frac {\left (\sin ^{3}\left (d x +c \right )\right ) \left (\sqrt {2}\, \left (\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}\right )^{\frac {3}{2}} \arctanh \left (\frac {\sqrt {2}}{2 \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}}\right ) \cos \left (d x +c \right )+\sqrt {2}\, \left (\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}\right )^{\frac {3}{2}} \arctanh \left (\frac {\sqrt {2}}{2 \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}}\right )-2 \cos \left (d x +c \right )\right ) \sqrt {2}}{d \sqrt {2-2 \cos \left (d x +c \right )}\, \cos \left (d x +c \right )^{\frac {3}{2}} \left (\cos ^{2}\left (d x +c \right )-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 1.02, size = 400, normalized size = 4.82 \[ -\frac {\sqrt {2} {\left (2 \, \sqrt {2} \sin \left (d x + c\right ) \sin \left (\frac {1}{2} \, \arctan \left (\sin \left (2 \, d x + 2 \, c\right ), \cos \left (2 \, d x + 2 \, c\right ) + 1\right )\right ) + 2 \, {\left (\sqrt {2} \cos \left (d x + c\right ) + \sqrt {2}\right )} \cos \left (\frac {1}{2} \, \arctan \left (\sin \left (2 \, d x + 2 \, c\right ), \cos \left (2 \, d x + 2 \, c\right ) + 1\right )\right ) - {\left (\cos \left (2 \, d x + 2 \, c\right )^{2} + \sin \left (2 \, d x + 2 \, c\right )^{2} + 2 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )}^{\frac {1}{4}} \log \left (\frac {4 \, {\left ({\left | i \, e^{\left (i \, d x + i \, c\right )} - i \right |}^{2} + 2 \, \sqrt {\cos \left (2 \, d x + 2 \, c\right )^{2} + \sin \left (2 \, d x + 2 \, c\right )^{2} + 2 \, \cos \left (2 \, d x + 2 \, c\right ) + 1} {\left (\cos \left (\frac {1}{2} \, \arctan \left (\sin \left (2 \, d x + 2 \, c\right ), \cos \left (2 \, d x + 2 \, c\right ) + 1\right )\right )^{2} + \sin \left (\frac {1}{2} \, \arctan \left (\sin \left (2 \, d x + 2 \, c\right ), \cos \left (2 \, d x + 2 \, c\right ) + 1\right )\right )^{2}\right )} - 2 \, {\left (\sqrt {2} {\left | i \, e^{\left (i \, d x + i \, c\right )} - i \right |} \sin \left (\frac {1}{2} \, \arctan \left (\sin \left (2 \, d x + 2 \, c\right ), \cos \left (2 \, d x + 2 \, c\right ) + 1\right )\right ) - 2 \, \sqrt {2} \cos \left (\frac {1}{2} \, \arctan \left (\sin \left (2 \, d x + 2 \, c\right ), \cos \left (2 \, d x + 2 \, c\right ) + 1\right )\right )\right )} {\left (\cos \left (2 \, d x + 2 \, c\right )^{2} + \sin \left (2 \, d x + 2 \, c\right )^{2} + 2 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )}^{\frac {1}{4}} + 4\right )}}{{\left | i \, e^{\left (i \, d x + i \, c\right )} - i \right |}^{2}}\right )\right )}}{2 \, {\left (\cos \left (2 \, d x + 2 \, c\right )^{2} + \sin \left (2 \, d x + 2 \, c\right )^{2} + 2 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )}^{\frac {1}{4}} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {1}{{\cos \left (c+d\,x\right )}^{3/2}\,\sqrt {1-\cos \left (c+d\,x\right )}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {1 - \cos {\left (c + d x \right )}} \cos ^{\frac {3}{2}}{\left (c + d x \right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________